Obsolete Programming Elements
The following
table provides a list of function calls and messages that required
implementation changes in the Win32 API.
Element |
Support |
Win32
API Comment |
AccessResource |
Dropped |
No
equivalent. |
AllocDSToCSAlias |
Dropped |
No
equivalent. |
AllocResource |
Dropped |
No
equivalent. |
AllocSelector |
Dropped |
No
equivalent. |
ChangeSelector |
Dropped |
No
equivalent. |
CloseSound |
Dropped |
Replaced by
multimedia sound support. |
CountVoiceNotes |
Dropped |
Replaced by
multimedia sound support. |
DefineHandleTable |
Dropped |
No
equivalent. |
DeviceMode |
Dropped |
Replaced by
portable DocumentProperties. |
DlgDirSelect |
Dropped |
Replaced by
portable DlgDirSelectEx |
DlgDirSelectComboBox |
Dropped |
Replaced by
portable DlgDirSelectComboBoxEx. |
DOS3Call |
Dropped |
Replaced by
named, portable function. |
ExtDeviceMode |
Dropped |
Replaced by
portable DocumentProperties. |
FlushComm |
Dropped |
Replaced by
PurgeComm. |
FreeSelector |
Dropped |
No
equivalent. |
GetAspectRatioFilter |
Dropped |
Replaced by
portable GetAspectRatioFilterEx. |
GetBitmapDimension |
Dropped |
Replaced by
portable GetBitmapDimensionEx |
GetBrushOrg |
Dropped |
Replaced by
portable GetBrushOrgEx |
GetCodeHandle |
Dropped |
No
equivalent. |
GetCodeInfo |
Dropped |
No
equivalent. |
GetCommError |
Dropped |
Replaced by
GetCommState. |
GetCurrentPDB |
Dropped |
No
equivalent. |
GetCurrentPosition |
Dropped |
Replaced by
portable GetCurrentPositionEx. |
GetDCOrg |
Dropped |
Replaced by
portable GetDCOrgEx |
GetDOSEnvironment |
Dropped |
No
equivalent. |
GetEnvironment |
Dropped |
No
equivalent. |
GetFreeSpace |
Dropped |
Replaced by
GlobalMemoryStatus |
GetFreeSystemResources |
Dropped |
Replaced by
GlobalMemoryStatus |
GetInstanceData |
Dropped |
No
equivalent; use alternative supported IPC mechanism. |
GetKBCodePage |
Dropped |
No function
equivalent. |
GetMetaFileBits |
Dropped |
Replaced by
portable GetEnhMetaFileBits |
GetSystemDebugState |
Dropped |
No function
equivalent. |
GetTempDrive |
Dropped |
Replaced by
portable GetTempPath |
GetTextExtent |
Dropped |
Replaced by
portable GetTextExtentPoint32. |
GetTextExtentEx |
Dropped |
Replaced by
portable GetTextExtentExPoint. |
GetThresholdEvent |
Dropped |
Replaced by
multimedia sound support. |
GetThresholdStatus |
Dropped |
Replaced by
multimedia sound support. |
GetViewportExt |
Dropped |
Replaced by
portable GetViewportExtEx. |
GetViewportOrg |
Dropped |
Replaced by
portable GetViewportOrgEx |
GetWindowExt |
Dropped |
Replaced by
portable GetWindowExtEx |
GetWindowOrg |
Dropped |
Replaced by
portable GetWindowOrgEx |
GetWinFlags |
Dropped |
No
equivalent. |
GlobalCompact |
Dropped |
No
equivalent. |
GlobalDosAlloc |
Dropped |
No
equivalent. |
GlobalDosFree |
Dropped |
No
equivalent. |
GlobalFix |
Dropped |
No
equivalent. |
GlobalLRUNewest |
Dropped |
No
equivalent. |
GlobalLRUOldest |
Dropped |
No
equivalent. |
GlobalNotify |
Dropped |
No
equivalent. |
GlobalPageLock |
Dropped |
No
equivalent. |
GlobalPageUnlock |
Dropped |
No
equivalent. |
GlobalUnfix |
Dropped |
No
equivalent. |
GlobalUnwire |
Dropped |
No
equivalent. |
GlobalWire |
Dropped |
No
equivalent. |
IsGDIObject |
Dropped |
No
equivalent. |
LimitEmsPages |
Dropped |
No
equivalent. |
LocalCompact |
Dropped |
No
equivalent. |
LocalInit |
Dropped |
No
equivalent. |
LocalNotify |
Dropped |
No
equivalent. |
LocalShrink |
Dropped |
No
equivalent. |
LockInput |
Dropped |
No
equivalent. |
LockSegment |
Dropped |
No
equivalent. |
MoveTo |
Dropped |
Replaced by
portable MoveToEx |
NetBIOSCall |
Dropped |
Replaced by
named, portable function. |
OffsetViewportOrg |
Dropped |
Replaced by
portable OffsetViewportOrgEx. |
OffsetWindowOrg |
Dropped |
Replaced by
portable OffsetWindowOrgEx. |
OpenComm |
Dropped |
Replaced by
CreateFile. |
OpenSound |
Dropped |
Replaced by
multimedia sound support. |
ProfClear |
Dropped |
Replaced by
profile-string function. |
ProfFinish |
Dropped |
Replaced by
profile-string function. |
ProfFlush |
Dropped |
Replaced by
profile-string function. |
ProfInsChk |
Dropped |
Replaced by
profile-string function. |
ProfSampRate |
Dropped |
Replaced by
profile-string function. |
ProfSetup |
Dropped |
Replaced by
profile-string function. |
ProfStart |
Dropped |
Replaced by
profile-string function. |
ProfStop |
Dropped |
Replaced by
profile-string function. |
ReadComm |
Dropped |
Replaced by
ReadFile. |
ScaleViewportExt |
Dropped |
Replaced by
portable ScaleViewportExtEx. |
ScaleWindowExt |
Dropped |
Replaced by
portable ScaleWindowExtEx. |
SetBitmapDimension |
Dropped |
Replaced by
portable SetBitmapDimensionEx. |
SetCommEventMask |
Dropped |
Replaced by
SetCommMask. |
SetEnvironment |
Dropped |
No
equivalent. |
SetMetaFileBits |
Dropped |
Replaced by
portable SetEnhMetaFileBits. |
SetResourceHandler |
Dropped |
No
equivalent. |
SetSoundNoise |
Dropped |
Replaced by
multimedia sound support. |
SetSwapAreaSize |
Dropped |
No
equivalent. |
SetViewportExt |
Dropped |
Replaced by
portable SetViewportExtEx. |
SetViewportOrg |
Dropped |
Replaced by
portable SetViewportOrgEx. |
SetVoiceAccent |
Dropped |
Replaced by
multimedia sound support. |
SetVoiceEnvelope |
Dropped |
Replaced by
multimedia sound support. |
SetVoiceNote |
Dropped |
Replaced by
multimedia sound support. |
SetVoiceQueueSize |
Dropped |
Replaced by
multimedia sound support. |
SetVoiceSound |
Dropped |
Replaced by
multimedia sound support. |
SetVoiceThreshold |
Dropped |
Replaced by
multimedia sound support. |
SetWindowExt |
Dropped |
Replaced by
portable SetWindowExtEx. |
SetWindowOrg |
Dropped |
Replaced by
portable SetWindowOrgEx. |
StartSound |
Dropped |
Replaced by
multimedia sound support. |
StopSound |
Dropped |
Replaced by
multimedia sound support. |
SwitchStackBack |
Dropped |
No
equivalent. |
SwitchStackTo |
Dropped |
No
equivalent. |
SyncAllVoices |
Dropped |
Replaced by
multimedia sound support. |
UngetCommChar |
Dropped |
No
equivalent. |
UnlockSegment |
Dropped |
No
equivalent. |
ValidateCodeSegments |
Dropped |
No
equivalent. |
ValidateFreeSpaces |
Dropped |
No
equivalent. |
WaitSoundState |
Dropped |
Replaced by
multimedia sound support. |
WriteComm |
Dropped |
Replaced by
WriteFile. |
WM_CTLCOLOR |
Dropped |
Replaced by
WM_CTLCOLOR<type> messages. |
GCW_HCURSOR |
Dropped |
Replaced by
GCL_HCURSOR. |
GCW_HBRBACKGROUND |
Dropped |
Replaced by
GCL_HBRBACKGROUND. |
GCW_HICON |
Dropped |
Replaced by
GCL_HICON. |
GWW_HINSTANCE |
Dropped |
Replaced by
GWL_HINSTANCE. |
GWW_HWNDPARENT |
Dropped |
Replaced by
GWL_HWNDPARENT. |
GWW_ID |
Dropped |
Replaced by
GWL_ID. |
GWW_USERDATA |
Dropped |
Replaced by
GWL_USERDATA. |
READ |
Dropped |
Replaced by
OF_READ. |
WRITE |
Dropped |
Replaced by
OF_WRITE. |
READ_WRITE |
Dropped |
Replaced by
OF_READ_WRITE. |
MAKEPOINT |
Dropped |
Replaced by
LONG2POINT. |